<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>for的用法</title>
</head>
<body>
    <table border="1">
        <thread>
            <tr>
                <td>姓名</td>
                <td>性别</td>
                <td>年龄</td>
            </tr>
        </thread>
        <tbody>
            {% for item in lst %}
            <tr>
                <td>{{item.get("name")}}</td>
                <td>{{item.get("sex")}}</td>
                <td>{{item.get("age")}}</td>
            </tr>
            {% endfor%}
        </tbody>
    </table>
</body>
</html>